home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / Xconq 7.0d37 / source / x11 / Xconq.ad < prev    next >
Encoding:
Text File  |  1995-04-27  |  9.8 KB  |  251 lines  |  [TEXT/R*ch]

  1. ! This file demonstrates/documents Xconq resources.
  2.  
  3. ! "font" only includes the general text font.
  4. Xconq.font:        lubR12
  5. Xconq.iconFont:    xconq
  6. Xconq.unitFont:    standard
  7.  
  8. ! Game setup window resources.
  9.  
  10. Xconq*Setup*ChoicePopup*x: 100
  11. Xconq*Setup*ChoicePopup*y: 100
  12.  
  13. Xconq*Setup*ChoiceBox*label.label:    Choose a Game!
  14.  
  15. Xconq*Setup*ScenarioPopup*x: 100
  16. Xconq*Setup*ScenarioPopup*y: 100
  17.  
  18. Xconq*Setup*ScenarioSetup*Swap.label:    Swap
  19. Xconq*Setup*ScenarioSetup*Done.label:    Done
  20.  
  21. ! Map window resources.
  22.  
  23. Xconq*Map.background:    purple
  24. Xconq*Map*LeftPane.background:    seagreen
  25. Xconq*Map*LeftPane*InfoForm.background:    peachpuff
  26. Xconq*Map*LeftPane*InfoForm*History.background:    skyblue
  27. Xconq*Map*LeftPane*InfoForm*Prompt.background:    dodgerblue
  28. Xconq*Map*LeftPane*InfoForm*GameDate.background:    steelblue
  29. Xconq*Map*LeftPane*InfoForm*GameClock.background:    navyblue
  30.  
  31. Xconq*Map*LeftPane*LeftForm.background:    goldenrod
  32. Xconq*Map*LeftPane*LeftForm*ControlForm*background:    lightgray
  33. Xconq*Map*LeftPane*LeftForm*ControlForm.background:    antiquewhite
  34.  
  35. Xconq*Map*LeftPane*LeftForm*MapForm.background:    darkgray
  36. Xconq*Map*LeftPane*LeftForm*MapForm*Info.background:    palegreen
  37. Xconq*Map*LeftPane*LeftForm*MapForm*View.background:    black
  38.  
  39. Xconq*Map*RightForm.background: red
  40. Xconq*Map*RightForm*Sides.background: forestgreen
  41. Xconq*Map*RightForm*ListView.background: pink
  42. Xconq*Map*RightForm*ListView.ListForm*background: palegreen
  43. Xconq*Map*RightForm*ListView.ListForm.background: green
  44.  
  45. Xconq*PortholeLabel.Translations: #override\n\
  46.     ~Shift<Btn1Down>: toolaction()\n\
  47.      Shift<Btn1Down>: toolselection()\n\
  48.     ~Shift<Btn2Down>: select() movelook()\n\
  49.      Shift<Btn2Down>: select() \n\
  50.      Shift<Btn2Up>:   distance() \n\
  51.           <Btn3Down>: select() moveunit()\n\
  52.       Meta<MotionNotify>:motionselect() movelook()\n\
  53.           <KeyPress>KP_7: movelook_ul()\n\
  54.           <KeyPress>KP_4: movelook_l()\n\
  55.           <KeyPress>KP_1: movelook_dl()\n\
  56.           <KeyPress>KP_9: movelook_ur()\n\
  57.           <KeyPress>KP_6: movelook_r()\n\
  58.           <KeyPress>KP_3: movelook_dr()\n\
  59.           <KeyPress>KP_5: center()\n\
  60.           <Expose>:   redraw()\n\
  61.           <KeyPress>: keypress()\n
  62.  
  63. ! Stuff to set the message area to an appropriate message depending
  64. ! on what widget the cursor is occupying.
  65. !Xconq*look.Translations: #override\n\
  66. !    <Enter>: highlight() msg("This allows you to examine things on the map (look)")\n\
  67. !    <Leave>: msg() reset()\n
  68. !Xconq*move.Translations: #override\n\
  69. !    <Enter>: highlight() msg("This is used to move units around (move)")\n\
  70. !    <Leave>: msg() reset()\n
  71. !Xconq*unitmove.Translations: #override\n\
  72. !    <Enter>: highlight() msg("This is used to move units around (unitmove)")\n\
  73. !    <Leave>: msg() reset()\n
  74. !Xconq*unitshoot.Translations: #override\n\
  75. !    <Enter>: highlight() msg("You can shoot at something when your\ncursor looks like this (unitshoot)")\n\
  76. !    <Leave>: msg() reset()\n
  77. !Xconq*unitbuild.Translations: #override\n\
  78. !    <Enter>: highlight() msg("unitbuild tool")\n\
  79. !    <Leave>: msg() reset()\n
  80. !Xconq*terrain.Translations: #override\n\
  81. !    <Enter>: highlight() msg("Toggle the drawing of terrain")\n\
  82. !    <Leave>: msg() reset()\n
  83. !Xconq*grid.Translations: #override\n\
  84. !    <Enter>: highlight() msg("Toggle the drawing of the hex grid")\n\
  85. !    <Leave>: msg() reset()\n
  86. !Xconq*units.Translations: #override\n\
  87. !    <Enter>: highlight() msg("Toggle drawing of units on the map")\n\
  88. !    <Leave>: msg() reset()\n
  89. !Xconq*names.Translations: #override\n\
  90. !    <Enter>: highlight() msg("Toggle drawing of Names on the map")\n\
  91. !    <Leave>: msg() reset()\n
  92. !Xconq*people.Translations: #override\n\
  93. !    <Enter>: highlight() msg("Toggle drawing of people on the map")\n\
  94. !    <Leave>: msg() reset()\n
  95. !Xconq*all.Translations: #override\n\
  96. !    <Enter>: highlight() msg("Toggle drawing of everything on the map (?)")\n\
  97. !    <Leave>: msg() reset()\n
  98. !Xconq*more.Translations: #override\n\
  99. !    <Enter>: highlight() msg("Popup window with more map drawing options")\n\
  100. !    <Leave>: msg() reset()\n
  101. !Xconq*zoomout.Translations: #override\n\
  102. !    <Enter>: highlight() msg("Zoom the Map Out")\n\
  103. !    <Leave>: msg() reset()\n
  104. !Xconq*zoomin.Translations: #override\n\
  105. !    <Enter>: highlight() msg("Zoom the Map In")\n\
  106. !    <Leave>: msg() reset()\n
  107. !
  108. !! Things that are on the Popup window map drawing options
  109. !Xconq*Terrain.Translations: #override\n\
  110. !    <Enter>: highlight() msg("Toggle the drawing of terrain")\n\
  111. !    <Leave>: msg() reset()\n
  112. !Xconq*Grid.Translations: #override\n\
  113. !    <Enter>: highlight() msg("Toggle the drawing of the hex grid")\n\
  114. !    <Leave>: msg() reset()\n
  115. !Xconq*Units.Translations: #override\n\
  116. !    <Enter>: highlight() msg("Toggle drawing of units on the map")\n\
  117. !    <Leave>: msg() reset()\n
  118. !Xconq*Names.Translations: #override\n\
  119. !    <Enter>: highlight() msg("Toggle drawing of Names on the map")\n\
  120. !    <Leave>: msg() reset()\n
  121. !Xconq*Feature Names.Translations: #override\n\
  122. !    <Enter>: highlight() msg("Toggle drawing of Features Names on the map")\n\
  123. !    <Leave>: msg() reset()\n
  124. !Xconq*People.Translations: #override\n\
  125. !    <Enter>: highlight() msg("Toggle drawing of people on the map")\n\
  126. !    <Leave>: msg() reset()\n
  127. !Xconq*Elevations.Translations: #override\n\
  128. !    <Enter>: highlight() msg("Toggle Map Elevations")\n\
  129. !    <Leave>: msg() reset()\n
  130. !Xconq*Temperatures.Translations: #override\n\
  131. !    <Enter>: highlight() msg("Toggle Map Temperatures")\n\
  132. !    <Leave>: msg() reset()\n
  133. !Xconq*All.Translations: #override\n\
  134. !    <Enter>: highlight() msg("Toggle drawing of everything on the map (?)")\n\
  135. !    <Leave>: msg() reset()\n
  136.  
  137. Xconq*Map*ctrlpanelPop.label: contr. panel
  138. Xconq*Map*helpPop.label:  help
  139.  
  140. Xconq*ControlForm*top:        ChainTop
  141. Xconq*ControlForm*bottom:    ChainTop
  142. Xconq*ctrlpanelPop*top:        ChainTop
  143. Xconq*ctrlpanelPop*bottom:    ChainTop
  144. Xconq*ctrlpanelPop*left:    ChainLeft
  145. Xconq*ctrlpanelPop*right:    ChainLeft
  146.  
  147. Xconq*Sides.top:        ChainTop
  148. Xconq*Sides.bottom:        ChainTop
  149. Xconq*Sides.left:        ChainLeft
  150. Xconq*Sides.right:        ChainLeft
  151.  
  152. Xconq*ListView.top: ChainTop
  153. Xconq*ListView.bottom: ChainBottom
  154. Xconq*ListView.left: ChainLeft
  155. Xconq*ListView.right: ChainLeft
  156.  
  157. Xconq*Panner.top: ChainBottom
  158. Xconq*Panner.bottom: ChainBottom
  159. Xconq*Panner.left: ChainLeft
  160. Xconq*Panner.right: ChainLeft
  161. Xconq*Panner.rubberBand: true
  162.  
  163. ! Help window resources.
  164.  
  165. Xconq.helpShell*topicPort.height:    300
  166. Xconq.helpShell*topicPort.width:    100
  167. Xconq.helpShell*title.width:        500
  168. Xconq.helpShell*title.borderWidth:      0
  169. Xconq.helpShell*title.font:        -*-helvetica-bold-r-*-*-18-*-*-*-*-*-*-*
  170. Xconq.helpShell*text.height:        300
  171. Xconq.helpShell*text.width:        400
  172. Xconq.helpShell*topicList.font:        -*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  173. Xconq.helpShell*text*font:        7x13
  174. ! Xconq.helpShell*text*font:        -*-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
  175.  
  176. ! Print setup window resources.
  177.  
  178. Xconq*PrintSetup.title: xconq print setup
  179. Xconq*PrintSetup*Dialog*value: 0
  180. Xconq*PrintSetup*Dialog*value.translations: #override \
  181.     \n <Key>Return: DoDialog()
  182. Xconq*PrintSetup*help.Label: \ help 
  183. Xconq*PrintSetup*print.Label:\ print 
  184. Xconq*PrintSetup*done.Label: \ done 
  185. Xconq*PrintSetup*names.label: interesting names
  186. Xconq*PrintSetup*cellSize.label: cell size
  187. Xconq*PrintSetup*gridSize.label: grid thick.
  188. Xconq*PrintSetup*pageWidth.label: page width
  189. Xconq*PrintSetup*pageHeight.label: page height
  190. Xconq*PrintSetup*topMargin.label: top margin
  191. Xconq*PrintSetup*bottomMargin.label: bottom margin
  192. Xconq*PrintSetup*leftMargin.label: left margin
  193. Xconq*PrintSetup*rightMargin.label: right margin
  194. Xconq*PrintSetup*terrainGray.label: terrain gray
  195. Xconq*PrintSetup*enemyGray.label: enemy gray
  196. Xconq*PrintSetup*borderWidth.label: border thick.
  197. Xconq*PrintSetup*connWidth.label: conn thick.
  198. Xconq*PrintSetupHelp.title: xconq print setup help
  199. Xconq*PrintSetupHelp*baseTranslations: #override \
  200.     <Key>Return: DoneHelp()\n\
  201.     <Key>Escape: DoneHelp()\n\
  202.     <Btn1Down>:  DoneHelp()
  203. Xconq*PrintSetupHelp*helpDone.Label: \ done 
  204.  
  205. ! Popup control panel resources.
  206.  
  207. Xconq.controlPanel.title: xconq control panel
  208. Xconq.controlPanel.form.popDown.label: close
  209. Xconq.controlPanel.form.what.label: what should I draw in the map window?
  210. Xconq.controlPanel.form.monochrome.label: should I use black&white?
  211. Xconq.controlPanel.form.color.label: what should I use color images for?
  212. Xconq.controlPanel.form.brushLabel.label: brush radius
  213. Xconq.controlPanel.form.brushPlus.label:  \>
  214. Xconq.controlPanel.form.brushMinus.label: \<
  215. Xconq.controlPanel.form.what.vertDistance:     4
  216. Xconq.controlPanel.form.Label.vertDistance:    12
  217. Xconq.controlPanel.form.Command.vertDistance:    12
  218.  
  219. ! Game selection dialog resources.
  220.  
  221. Xconq.gameDialog*font:        -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
  222. Xconq.gameDialog*Command.font:    -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  223. Xconq.gameDialog*label.font:    -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  224. Xconq.gameDialog*name.font:    -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  225. Xconq.gameDialog*name.width:        100
  226. Xconq.gameDialog*viewport.height:    599
  227. Xconq.gameDialog*label.label:        select a game
  228. Xconq.gameDialog.title:         xconq game selection
  229. Xconq*gameForm*font:        -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*
  230. Xconq*gameForm*name.font:    -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  231. Xconq*gameForm*instructions_label.font:    -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  232. Xconq*gameForm*notes_label.font:    -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  233. Xconq*gameForm*variant.font:    -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  234. Xconq*gameForm*assign.font:    -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  235. Xconq*gameForm.Command.font:    -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  236. Xconq*gameForm.Dialog.value*font:-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  237. Xconq*gameForm*add.label:        add player
  238. Xconq*gameForm.Text.width:        500
  239. Xconq*gameForm.Text.height:        50
  240. Xconq*gameForm.Text.scrollHorizontal:    whenNeeded
  241. Xconq*gameForm.Text.scrollVertical:    whenNeeded
  242. Xconq*gameForm.Text.showGrip:        true
  243. Xconq*gameForm.varMessage.font:    -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  244. Xconq*gameForm.nameMessage.font:-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  245. Xconq*gameForm.idMessage.font:    -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
  246.  
  247. ! General defaults, for consistency.
  248.  
  249. Xconq*OK.label: OK
  250. Xconq*Cancel.label:    Cancel
  251.